

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
	<!-- saved from url=(0022)http://www.ncover.com/ -->
    <title>NCover Code Coverage Report - New Project</title>

    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="Content-Language" content="en-us" />
	<link rel="stylesheet" type="text/css" href="../default.css" />
	
	<script type="text/javascript" src="../sorttable.js"></script>
    <script type="text/javascript" src="../prototype.js"></script>
    <!--[if IE]>
		<script type="text/javascript" src="../excanvas.js"></script>
	<![endif]-->
    <script type="text/javascript" src="../blech.js"></script>
    <script type="text/javascript" src="../ncover.js"></script>
  </head>
  <body>
    <div id="hdrbar">
      <div id="hdrbar_left">
        <a href="../coveragesummary.html" target="doc">New Project</a>
      </div>
    </div>
    <div id="content">
      

<div id="page_title">
  <em>Code Coverage Statistics for Source File</em>
  <h1>BookFinder.Core\ViewModelBase.cs</h1>
</div>



<div id="page_stats">
	<div id="left">
		<p>Symbol Coverage: <span class="highlight uncovered">82.05%</span> (64 of 78)</p><p>Branch Coverage: <span class="highlight acceptable">97.78%</span> (44 of 45)</p><p>Cyclomatic Complexity Avg: <span class="highlight">3.18</span> Max:<span class="highlight acceptable">5</span> </p>

<p>
  Code Lines:
  <span class="highlight">72</span>
</p>
	</div>
	
</div>
<br style="clear: both;" />




<table id="sourceTable" class="source">
  <tr>
  <th class="linenum" title="Line #">L</th>
  <th class="linenum" title="Visit Count">V</th>
  <th class="sourceline" style="text-align: left;">Source</th>
  </tr>


  <tr>
  
     <td>
  
    <pre><a name="L1">1</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>using System;</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L2">2</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>using System.Collections;</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L3">3</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>using System.Reflection;</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L4">4</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>using System.Windows.Forms;</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L5">5</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L6">6</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>namespace BookFinder</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L7">7</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>{</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L8">8</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>    public class ViewModelBase</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L9">9</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>    {</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L10">10</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        protected Control View;</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L11">11</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 2 times"> 2</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="covered">private BindingFlags myBindingFlags = BindingFlags.Instance | BindingFlags.Public;</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L12">12</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L13">13</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 2 times"> 2</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="covered">public ViewModelBase(Control view)</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L14">14</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L15">15</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 2 times"> 2</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">View = view;</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L16">16</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 2 times"> 2</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="covered">}</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L17">17</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L18">18</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        protected void BindToView()</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L19">19</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L20">20</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 2 times"> 2</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">ArrayList allControls = AllControlsDescendingFrom(View);</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L21">21</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L22">22</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 2 times"> 2</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            foreach ( <span class="covered">MethodInfo handler in EventHandlers() </span>)</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L23">23</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L24">24</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 8 times"> 8</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                <span class="covered">FindEventToListenTo(allControls, handler);</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L25">25</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            }</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L26">26</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L27">27</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 2 times"> 2</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            foreach ( <span class="covered">FieldInfo field in PropertyFields() </span>)</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L28">28</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L29">29</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 10 times"> 10</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                <span class="covered">FindPropertyToBindTo(allControls, field);</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L30">30</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            }</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L31">31</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 2 times"> 2</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="covered">}</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L32">32</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L33">33</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        private void FindPropertyToBindTo(ArrayList allControls, FieldInfo field)</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L34">34</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L35">35</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 10 times"> 10</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            foreach ( <span class="covered">Control control in allControls </span>)</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L36">36</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L37">37</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 10 times"> 10</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                <span class="covered">if ( BindPropertyToControl(control, field) )</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L38">38</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>                {</pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L39">39</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                    <span class="uncovered">return;</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L40">40</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>                }</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L41">41</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            }</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L42">42</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 10 times"> 10</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="covered">}</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L43">43</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L44">44</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        private void FindEventToListenTo(ArrayList allControls, MethodInfo handler)</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L45">45</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L46">46</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 8 times"> 8</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            foreach ( <span class="covered">Control control in allControls </span>)</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L47">47</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L48">48</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 8 times"> 8</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                <span class="covered">if ( ListenToEvent(control, handler) )</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L49">49</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>                {</pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L50">50</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                    <span class="uncovered">return;</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L51">51</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>                }</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L52">52</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            }</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L53">53</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 8 times"> 8</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="covered">}</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L54">54</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L55">55</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        public IEnumerable PropertyFields()</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L56">56</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L57">57</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 4 times"> 4</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">ArrayList fields = new ArrayList();</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L58">58</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 4 times"> 4</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            foreach ( <span class="covered">FieldInfo field in this.GetType().GetFields(myBindingFlags) </span>)</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L59">59</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L60">60</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 20 times"> 20</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                <span class="covered">if ( typeof (Property).IsAssignableFrom(field.FieldType) )</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L61">61</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>                {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L62">62</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 20 times"> 20</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                    <span class="covered">fields.Add(field);</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L63">63</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>                }</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L64">64</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            }</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L65">65</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 4 times"> 4</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">return fields;</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L66">66</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 4 times"> 4</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="covered">}</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L67">67</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L68">68</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        private IEnumerable EventHandlers()</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L69">69</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L70">70</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 2 times"> 2</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">ArrayList eventHandlers = new ArrayList();</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L71">71</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 2 times"> 2</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            foreach ( <span class="covered">MethodInfo method in this.GetType().GetMethods(myBindingFlags) </span>)</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L72">72</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L73">73</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 18 times"> 18</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                <span class="covered">if ( isEventHandler(method) )</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L74">74</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>                {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L75">75</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 8 times"> 8</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                    <span class="covered">eventHandlers.Add(method);</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L76">76</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>                }</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L77">77</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            }</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L78">78</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 2 times"> 2</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">return eventHandlers;</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L79">79</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 2 times"> 2</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="covered">}</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L80">80</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L81">81</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        private bool isEventHandler(MethodInfo info)</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L82">82</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L83">83</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 18 times"> 18</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">ParameterInfo[] parameters = info.GetParameters();</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L84">84</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 18 times"> 18</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">return</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L85">85</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 18 times"> 18</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                <span class="covered">(info.ReturnType == typeof (void) &amp;&amp;</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L86">86</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 18 times"> 18</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                 <span class="covered">parameters.Length == 2 &amp;&amp;</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L87">87</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 18 times"> 18</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                 <span class="covered">parameters[0].ParameterType == typeof (object) &amp;&amp;</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L88">88</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 18 times"> 18</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                 <span class="covered">(typeof (EventArgs)).IsAssignableFrom(parameters[1].ParameterType));</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L89">89</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 18 times"> 18</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="covered">}</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L90">90</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L91">91</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L92">92</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        private bool ListenToEvent(Control control, MethodInfo method)</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L93">93</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L94">94</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 8 times"> 8</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">string eventName = ControlAttributeName(control, method.Name);</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L95">95</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 8 times"> 8</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">if ( eventName == null )</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L96">96</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            {</pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L97">97</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                <span class="uncovered">return false;</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L98">98</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            }</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L99">99</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L100">100</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 8 times"> 8</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">EventInfo eventInfo = control.GetType().GetEvent(eventName, myBindingFlags);</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L101">101</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 8 times"> 8</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">if ( eventInfo == null )</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L102">102</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L103">103</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 8 times"> 8</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                <span class="covered">return false;</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L104">104</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            }</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L105">105</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L106">106</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="uncovered">eventInfo.GetAddMethod().Invoke(control, new object[]</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L107">107</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                                                         <span class="uncovered">{</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L108">108</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                                                             <span class="uncovered">Delegate.CreateDelegate(eventInfo.EventHandlerType, this,</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L109">109</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                                                                                     <span class="uncovered">method.Name)</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L110">110</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                                                         <span class="uncovered">});</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L111">111</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="uncovered">return true;</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L112">112</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 8 times"> 8</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="covered">}</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L113">113</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L114">114</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        private bool BindPropertyToControl(Control control, FieldInfo field)</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L115">115</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L116">116</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 10 times"> 10</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">string controlPropertyName = ControlAttributeName(control, field.Name);</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L117">117</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 10 times"> 10</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">if ( controlPropertyName == null )</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L118">118</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            {</pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L119">119</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                <span class="uncovered">return false;</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L120">120</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            }</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L121">121</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L122">122</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 10 times"> 10</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">PropertyInfo controlProperty = control.GetType().GetProperty(controlPropertyName, myBindingFlags);</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L123">123</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 10 times"> 10</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">if ( controlProperty == null )</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L124">124</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L125">125</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 10 times"> 10</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>               <span class="covered">return false;</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L126">126</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            }</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L127">127</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L128">128</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="uncovered">BoundPropertyStrategy propertyStorageStrategy = new BoundPropertyStrategy(control, controlProperty);</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L129">129</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="uncovered">ConstructorInfo propertyConstructor = field.FieldType.GetConstructor(new Type[] {typeof (PropertyStorageStrategy)});</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L130">130</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="uncovered">object propertyField = propertyConstructor.Invoke(new object[] {propertyStorageStrategy});</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L131">131</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="uncovered">field.SetValue(this, propertyField);</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L132">132</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L133">133</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="uncovered">return true;</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L134">134</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 10 times"> 10</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="covered">}</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L135">135</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L136">136</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        /// &lt;summary&gt;</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L137">137</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        /// Given a control and a ViewModel member, checks to see if the control name</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L138">138</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        /// prefixes the viewModelMember. If so, returns the remainder of the member name.</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L139">139</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        /// Otherwise, returns &lt;c&gt;null&lt;/c&gt;. </pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L140">140</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        /// &lt;/summary&gt;</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L141">141</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        /// &lt;remarks&gt;</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L142">142</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        /// Used to find controls that contain attributes that we can bind to. For example,</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L143">143</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        /// given a control called &quot;Search&quot;, and a viewModelMember called &quot;SearchClick&quot;, this </pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L144">144</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        /// method should return &quot;Click&quot;, allowing us to look for the &lt;c&gt;control.Click&lt;/c&gt; member.</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L145">145</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        /// Given a control called &quot;Save&quot; and a viewModelMember called &quot;SearchClick&quot;, the </pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L146">146</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        /// method will return &lt;c&gt;null&lt;/c&gt; - there's nothing here to try to bind to.</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L147">147</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        /// &lt;/remarks&gt;</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L148">148</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        private string ControlAttributeName(Control control, string viewModelMemberName)</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L149">149</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L150">150</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 18 times"> 18</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">if ( viewModelMemberName.ToLower().StartsWith(control.Name.ToLower()) )</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L151">151</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L152">152</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 18 times"> 18</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                <span class="covered">return viewModelMemberName.Substring(control.Name.Length);</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L153">153</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            }</pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L154">154</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="uncovered">return null;</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L155">155</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 18 times"> 18</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="covered">}</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L156">156</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L157">157</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        private static ArrayList AllControlsDescendingFrom(Control baseControl)</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L158">158</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>        {</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L159">159</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 2 times"> 2</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">ArrayList allControls = new ArrayList();</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L160">160</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 2 times"> 2</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">allControls.Add(baseControl);</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L161">161</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            foreach ( <span class="uncovered">Control control </span><span class="covered">in baseControl.Controls </span>)</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L162">162</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            {</pre>
  </td>
</tr>


  <tr>
  
    <td class="uncoveredLine">
  
    <pre><a name="L163">163</a></pre>
  </td>
  
  
    <td class="uncoveredLine">
  
	  <pre title="Visited 0 times"> 0</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>                <span class="uncovered">allControls.AddRange(AllControlsDescendingFrom(control));</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L164">164</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>            }</pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L165">165</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 2 times"> 2</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>            <span class="covered">return allControls;</span></pre>
  </td>
</tr>


  <tr>
  
    <td class="coveredLine">
  
    <pre><a name="L166">166</a></pre>
  </td>
  
  
    <td class="coveredLine">
  
	  <pre title="Visited 2 times"> 2</pre>
    
  </td>
  
  <td class="sourceline">
    <pre>        <span class="covered">}</span></pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L167">167</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>       }</pre>
  </td>
</tr>


  <tr>
  
     <td>
  
    <pre><a name="L168">168</a></pre>
  </td>
  
  
		<td>
  
  </td>
  
  <td class="sourceline">
    <pre>}</pre>
  </td>
</tr>



</table>

<script type="text\\javascript" language="javascript">
document.getElementById('coveredCheck').checked = false;
</script>
    </div>
    <div id="footer">
	  Generated By  
      <a href="http://www.ncover.com" target="_top">NCover</a><br />
    </div>
  </body>
</html>